﻿using System;
using System.Collections.Generic;
using DevFramework.Core.Aspects.CacheAspects;
using DevFramework.Business.Abstract;
using DevFramework.DataLayer.Abstract;
using DevFramework.Entities.Concrete;

namespace DevFramework.Business.Concrete.Managers
{
    
    public class OrderSalesManager : IOrderSalesService
    {
        private readonly IOrderSalesDal _orderSalesDal;

        public OrderSalesManager(IOrderSalesDal orderSalesDal)
        {
            _orderSalesDal = orderSalesDal;
        }
    
        public List<OrderSales> GetAll()
        {
            return _orderSalesDal.GetList();
        }
    }
}